package com.webermagem.model;

import java.io.Serializable;

public class Impressao implements Serializable{

	private static final long serialVersionUID = -8846804464270718293L;
	
	private String sintomas;
	
	private String diagnosticos;
	
	private String intervencoes;
	
	private String dataadmissao;
	
	private String horaadmissao;
	
	private String nome;
	
	private String coren;

	public String getSintomas() {
		return sintomas;
	}

	public void setSintomas(String sintomas) {
		this.sintomas = sintomas;
	}

	public String getDiagnosticos() {
		return diagnosticos;
	}

	public void setDiagnosticos(String diagnosticos) {
		this.diagnosticos = diagnosticos;
	}

	public String getIntervencoes() {
		return intervencoes;
	}

	public void setIntervencoes(String intervencoes) {
		this.intervencoes = intervencoes;
	}

	public String getDataadmissao() {
		return dataadmissao;
	}

	public void setDataadmissao(String dataAdmissao) {
		this.dataadmissao = dataAdmissao;
	}

	public String getHoraadmissao() {
		return horaadmissao;
	}

	public void setHoraadmissao(String horaAdmissao) {
		this.horaadmissao = horaAdmissao;
	}

	public String getNome() {
		return nome;
	}

	public void setNome(String nome) {
		this.nome = nome;
	}

	public String getCoren() {
		return coren;
	}

	public void setCoren(String coren) {
		this.coren = coren;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((dataadmissao == null) ? 0 : dataadmissao.hashCode());
		result = prime * result
				+ ((diagnosticos == null) ? 0 : diagnosticos.hashCode());
		result = prime * result
				+ ((horaadmissao == null) ? 0 : horaadmissao.hashCode());
		result = prime * result
				+ ((intervencoes == null) ? 0 : intervencoes.hashCode());
		result = prime * result
				+ ((sintomas == null) ? 0 : sintomas.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Impressao other = (Impressao) obj;
		if (dataadmissao == null) {
			if (other.dataadmissao != null)
				return false;
		} else if (!dataadmissao.equals(other.dataadmissao))
			return false;
		if (diagnosticos == null) {
			if (other.diagnosticos != null)
				return false;
		} else if (!diagnosticos.equals(other.diagnosticos))
			return false;
		if (horaadmissao == null) {
			if (other.horaadmissao != null)
				return false;
		} else if (!horaadmissao.equals(other.horaadmissao))
			return false;
		if (intervencoes == null) {
			if (other.intervencoes != null)
				return false;
		} else if (!intervencoes.equals(other.intervencoes))
			return false;
		if (sintomas == null) {
			if (other.sintomas != null)
				return false;
		} else if (!sintomas.equals(other.sintomas))
			return false;
		return true;
	}

}
